Ext.define("Demo.view.base.testGrid",{
	extend:"Ext.grid.Panel",
	alias:"widget.testGrid",
	title: 'Simpsons',
    store: 'empStore',
    columns: [
        { header: 'empName',  dataIndex: 'empName' },
        { header: 'empName', dataIndex: 'asfd', flex: 1 },
        { header: 'empName', dataIndex: 'asddf' }
    ],
    width: 400,
    height: 125,
    dockedItems: [{
        xtype: 'pagingtoolbar',
        store: 'empStore',   // GridPanel中使用的数据
        dock: 'bottom',
        displayInfo: true
    }]
});